<?
  include("com/website_config.php");
  $pathurltrue=__FILE__;
  $pathurl=basename($pathurltrue,".php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>安昇租车-南京及周边城市租车最低价！！</title>
<meta name="keywords" content="南京租车,安昇,安昇租车,租车,租车网,租车公司,汽车租赁,租车价格,旅游租车,婚庆租车,商务租车,企业租车,包车,租车手续" />
<meta name="description" content="安昇租车-提供5~63座配驾租车服务,承接南京及周边城市旅游租车、会议接送、商务接待、婚庆租车、机场接送、团体租车、企业班车。电话18120116637（兼微信）" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Robots" content="all"/>
<link rel="shortcut icon" href="/favicon.ico"/>
<link href="css/css.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){
	if(window.location.href.indexOf("?mobile")<0){
		try{
			if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){
				window.location.href="http://www.ashlybus.com/m";
			}else if(/iPad/i.test(navigator.userAgent)){
			}else{
				window.location.href="http://www.ashlybus.com"
			}
		}catch(e){}
	}
}
</script>
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/focus.js"></script>
<script src="js/jquery-1.js" type="text/javascript"></script>
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/jscarousel.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('#jsCarousel').jsCarousel({ onthumbnailclick: function(src) { 
	// 可在这里加入点击图片之后触发的效果
	$("#overlay_pic").attr('src', src);
	$(".overlay").show();
	}, autoscroll: true });
	
	$(".overlay").click(function(){
		$(this).hide();
	});
});
</script>
<script type="text/javascript">
	$(function(){
		/*初始化，加载省市区*/
		$.ajax({
			type: 'GET',
			url: 'data.json',
			dataType: 'json',
			success: function(data){
            	var htmlProvince = '';
            	province = data.province;
            	city = data.city;
            	district = data.district;
            	for(var i=0; i<province.length;i++){
				  	htmlProvince += '<option value="'+province[i].id+'">'+province[i].name+'</option>';
				}
				$('#province').append(htmlProvince);
            },
            error: function(){
            	console.log('请求失败');
            }
        });
		/*选择省*/
        $('#province').change(function(){
        	var code = $(this).val();
        	if(code!=''){
        		var cityCode  = city[code][0].id;
        		var htmlCity = '',
        			htmlDistrict = '';
        		for(var i=0; i<city[code].length;i++){
				  	htmlCity += '<option value="'+city[code][i].id+'">'+city[code][i].name+'</option>';
				}
        		$('#city').html(htmlCity);
        		
        		for(var i=0; i<district[cityCode].length;i++){
				  	htmlDistrict += '<option value="'+district[cityCode][i].id+'">'+district[cityCode][i].name+'</option>';
				}
        		$('#district').html(htmlDistrict);
        	}else{
        		$('#city,#district').html('');
        	}
        });
		/*选择市*/
		$('#city').change(function(){
			var cityCode = $(this).val();
        	var htmlDistrict = '';
    		for(var i=0; i<district[cityCode].length;i++){
			  	htmlDistrict += '<option value="'+district[cityCode][i].id+'">'+district[cityCode][i].name+'</option>';
			}
    		$('#district').html(htmlDistrict);
		});
	});
</script>
<script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?429d331d02551c5c42fbfb2982cfcf64"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script>
</head>

<body>

<? include("top.php");?>

<div class="banner">
    <div class="banner_show" id="banner_show">
    <a href="#" target="_blank" class="bannger_inbox" style="margin-left: -1000px; z-index: 5; display: block;"><img src="images/banner01.jpg" width="2000" height="300" alt=""></a>
    <a href="#" target="_blank" class="bannger_inbox" style="margin-left: -1000px; z-index: 4; display: none;"><img src="images/banner02.jpg" width="2000" height="300"></a>
    <a href="#" target="_blank" class="bannger_inbox" style="margin-left: -1000px; z-index: 3; display: none;"><img src="images/banner03.jpg" width="2000" height="300"></a>
	<a href="#" target="_blank" class="bannger_inbox" style="margin-left: -1000px; z-index: 2; display: none;"><img src="images/banner04.jpg" width="2000" height="300"></a>
	<a href="#" target="_blank" class="bannger_inbox" style="margin-left: -1000px; z-index: 1; display: none;"><img src="images/banner05.jpg" width="2000" height="300"></a>
         <div class="banner_pre_next">
        	<a href="javascript:;" class="banner_btn_left"><img src="images/arrowleft.png"></a>
            <a href="javascript:;" class="banner_btn_right"><img src="images/arrowright.png"></a>
        </div>
    </div>
</div>
<div class="shaxuan c">
	<div class="warp por">
         <div class="title">配驾租车</div>
         <div class="form_left">选择车型&nbsp;&nbsp;</div>
		 <form method="post" action="search.php" class="form">
         <select class="search_select_left" name="chexing">
              <?
				$sql="select * from ms_protype where pid=1 order by type_bianma desc";//车辆信息库的父分类
				$onpage_cl = $db->query($sql);
				$rs=mysql_num_rows($onpage_cl);
				if($rs==""){
						echo"<center>".'暂时还没有信息!'."</center>";					
				}
				else
				{
				while($array=mysql_fetch_array($onpage_cl))
				{
				$onepageid=(int)$_GET['typeid'];
				$nowID=(int)$array['type_id'];
			?>
              <option value="<? echo $nowID;?>"><? echo $array['type_name'];?></option>
			  <?
				}
			}
		   ?>
         </select>
          <span>出发地&nbsp;&nbsp;</span>
		  <select id="startPlace">
			 <option value="sh">上海</option>
			 <option value="nj" selected="selected">南京</option>
			 <option value="hz">杭州</option>
		  </select>
		  <span>目的地&nbsp;&nbsp;</span>
		<select id="province" class="search_select"><option value="">请选择省份</option></select> 
		<select id="city" class="search_select"></select> 
		<select id="district" class="search_select"></select>
		<input name="message_submit" type="submit" value="开始选车" class="button"/>
		</form>
    </div>
</div>

<div class="jiange"></div>
<div class="warp"><!--服务范围-->
     <div class="pubtit"><span>服务范围</span></div>
     <div class="fuwufanwei">
     	<ul>
            <li><a href="service.php"><div class="div1"><img src="images/lvyou.png" /></div><div class="div2">旅游租车</div></a></li>
            <li><a href="service.php"><div class="div1"><img src="images/huiyi.png" /></div><div class="div2">会议接送</div></a></li>
            <li><a href="service.php"><div class="div1"><img src="images/shangwu.png" /></div><div class="div2">商务接待</div></a></li>
            <li><a href="hqzc.php"><div class="div1"><img src="images/hunqing.png" /></div><div class="div2">婚庆租车</div></a></li>
            <li><a href="service.php"><div class="div1"><img src="images/jichang.png" /></div><div class="div2">机场接送</div></a></li>
            <li><a href="service.php"><div class="div1"><img src="images/tuanti.png" /></div><div class="div2">团体租车</div></a></li>
            <li><a href="service.php"><div class="div1"><img src="images/banche.png" /></div><div class="div2">企业班车</div></a></li>
        </ul>
        <div class="cl"></div>
     </div>
</div>

<div class="jiange"></div>
<div class="warp"><!--租车快速通道-->
     <div class="pubtit"><span>租车快速通道</span></div>
     <div class="zuchetongdao">
          <ul>
              <li>
                 <a href="zczn.php">
                     <div class="icon"><span><img src="images/zclogo.jpg" /></span></div>
                     <div class="iconname">租车流程</div>
                     <div class="iconjieshao">选择车辆→咨询报价→提交订单→支付车款</div>
                 </a>
              </li>
              <li>
              	<a href="zcxy.php">
                     <div class="icon"><span><img src="images/xieyilogo.jpg" /></span></div>
                     <div class="iconname">租车协议</div>
                     <div class="iconjieshao">
                       <p>甲乙双方签订租车协议书，保障为您提供一流的租车服务</p>
                </div>
                </a>
              </li>
              <li>
              	<a href="zcPrice.php">
                     <div class="icon"><span><img src="images/jiagelogo.jpg" /></span></div>
                     <div class="iconname">租车价格</div>
                     <div class="iconjieshao">报价公开透明，以最低的价格为您提供最优质的服务</div>
                </a>
              </li>
          </ul>
          <div class="cl"></div>
     </div>
</div>

<div class="jiange"></div>
<div class="box"><!--新闻-->
     <div class="boxleft fl">
         <div class="pubtit"><span>客户案例</span></div>
         <div class="homenewsbox">
              <ul>
			  <? 
			$gsdt_sql="select * from ms_product where pro_tid=3 order by pro_id desc limit 0,5";
			$newrs = $db->query($gsdt_sql);
			$rs=mysql_num_rows($newrs);
			if($rs==""){
					echo"<center>".'暂时还没有信息!'."</center>";					
			}
			else
			{
				while($array=mysql_fetch_array($newrs))
				{
			?>
                   <li><a href="case_details.php?detail_id=<? echo $array["pro_id"]; ?>"><? echo $array["pro_title"]; ?></a></li>
				  <?
				}
			}	
			?>
              </ul>
         </div> 
     </div>
     <div class="boxright fr">
     		<div class="pubtit"><span>新闻动态</span></div>
        	<div class="homenewsbox">
              <ul>
                   <? 
			$gsdt_sql="select * from ms_product where pro_tid=14 order by pro_id desc limit 0,5";
			$newrs = $db->query($gsdt_sql);
			$rs=mysql_num_rows($newrs);
			if($rs==""){
					echo"<center>".'暂时还没有信息!'."</center>";					
			}
			else
			{
				while($array=mysql_fetch_array($newrs))
				{
			?>
                   <li><a href="case_details.php?detail_id=<? echo $array["pro_id"]; ?>"><? echo $array["pro_title"]; ?></a></li>
				  <?
				}
			}	
			?>
              </ul>
         </div> 
     </div>
     <div class="cl"></div>
</div>

<div class="jiange"></div>
<div class="warp"><!--车型展示-->
     <div class="pubtit"><span>车型展示</span></div>
	 <div id="wrapper">
				<div id="jsCarousel">
				<?
				$sql="select * from ms_protype where pid=1";
				$onpage_cl = $db->query($sql);
				$rs=mysql_num_rows($onpage_cl);
				while($array=mysql_fetch_array($onpage_cl)){
					$a[]=(int)$array['type_id'];
					$typeid_array = implode(',',$a);//转成字符串序列
				}
				//$typeid_array="6,7,8,9";
	$sql = "select * from ms_product where pro_tid in ($typeid_array) order by pro_px desc limit 0,15";
	$result = $db->query($sql);			
	$row_num = $db->getRowNum(); 
	if($row_num=""){
		echo "没有链接！";
	}else{
	while($array=mysql_fetch_array($result)){
	  //从相册中查询出一个图片
	  $pro_id=$array['pro_id'];
	  $photoSQL="select * from ms_product_photo where pro_id=$pro_id limit 0,16";
	  $rs=$db->query($photoSQL);
	  $photoArray=mysql_fetch_array($rs);
	  
	  $pro_pic=$photoArray["img_path"];
	  $proimgpath=str_replace("../../","","$pro_pic");//图片路径重置
?>
	
	<div><a href="bus_details.php?typeid=<? echo $typeid;?>&detail_id=<? echo $array['pro_id']; ?>"><? if(!file_exists($proimgpath)){echo "<img src='images/nopic.jpg' border='0' width='280' height='210' />";}else{ ?><img src="<? echo $proimgpath; ?>" width="160" height="140" /><? }?></a><br /><span class="thumbnail-text"><a href="bus_details.php?typeid=<? echo $typeid;?>&detail_id=<? echo $array['pro_id']; ?>"><? echo $array['pro_title']; ?></a></span></div>
	
	<?
		}
	}
?>
				</div>
			<div id="demo-side-bar"></div>
		</div>
</div>
<div class="cl"></div>


<div class="jiange"></div>
<div class="warp"><!--合作单位-->
     <div class="pubtit"><span>合作单位</span></div>
     <div class="hezuo">
          <ul>
              <li><span><img src="images/hezuo_cts.jpg" /></span></li>
              <li><span><img src="images/hezuo_dianwanglogo.jpg" /></span></li>
              <li><span><img src="images/hezuo_xmz.jpg" /></span></li>
              <li><span><img src="images/hezuo_lg.jpg" /></span></li>
              <li><span><img src="images/hezuo_sm.jpg" /></span></li>
              <li><span><img src="images/hezuo_tuniu.jpg" /></span></li>
              <li><span><img src="images/hezuo_xm.jpg" /></span></li>
              <li><span><img src="images/hezuo_suning.jpg" /></span></li>
              <li><span><img src="images/hezuo_yd.jpg" /></span></li>
              <li><span><img src="images/hezuo_gome.jpg" /></span></li>
              <li><span><img src="images/hezuo_kanghui.jpg" /></span></li>
              <li><span><img src="images/hezuo_xiecheng.jpg" /></span></li>
          </ul>
          <div class="cl"></div>
     </div>
</div>
<? include("foot.php");?>
<script>
var startPlace=document.getElementById("startPlace");
startPlace.value=getCookie("startPlace");
startPlace.onchange=function(){
	var val=startPlace.value;
	setCookie(val);
	setTel($(".foot_text p:first-child"));
	setTel($(".fixed_3 span"));
}
function setTel(elem){
	var str=elem.html().replace(/1[34578]\d{9}/,getCookie("placeTel"));
	elem.html(str);
}
</script>
</body>
</html>